public class Person {
    public int age;
    public String name;

    @Override
    public String toString() {
//        return "Person{" +
//                "age=" + age +
//                ", name='" + name + '\'' +
//                '}';
        return "年龄" + age + " " + "姓名" + name;
    }

    public void show() {
        System.out.println("年龄" + age + " 姓名" + name);
    }

    public static void main(String[] args) {
        Person person = new Person();
        //person.show();
        System.out.println(person);
    }
}
